import Mock from 'mockjs'

Mock.setup({
  timeout: '500-2000',
  
})

let interfaces = [
{
  method: 'POST',
  url: '/api/user/token',
  request: {
    "username": "",
    "password": ""
  },
  response: {
    "message": "获取成功",
    "status": 1,
    "token": "eyJhbGciOiJIUzI1NiIsImV4cCI6MTUxNjc4Mjg4NywiaWF0IjoxNTE2Nzc5ODg3fQ.eyJpZCI6IjIzMjQ0MzczNTAifQ.m7WXsa7FvAnBnP6YgzpkzvaLRi6KTqkURPdg0SWO0Ic"
  }
},
{
  method: 'GET',
  url: '/api/info/cet/zkzh',
  request: {},
  response: {
    "ID": "360012171105504",
    "name": "罗经宇",
    // "school": "南昌大学",
    // "score": "464.00",
    // "listening": "140",
    // "reading": "171",
    // "writing": "153",
    // "oralId": "F17136001031816",
    // "oralLevel": "C+"
  }
},
{
  method: 'GET',
  url: '/\/api\/info\/neeacet?/',
  request: {},
  response: {
    "img": "http://cet.neea.edu.cn/imgs/28b60c846d1e41218e117529c433dd2b.png",
    "status": 1,
    "msg": "done",
    "result_cookies": "580962314.39455.0000"
  }
},
{
  id: 30979,
  name: '/info/neeacet',
  method: 'POST',
  url: '/api/info/neeacet',
  request: {
    "key": "3nec",
    "cet_num": "360012171105504",
    "result_cookies": "2745223178.39455.0000"
  },
  response: {
    "data": {
      "ID": "360012171105504",
      "name": "罗经宇",
      "school": "南昌大学",
      "score": "464.00",
      "t": "0",
      "listening": "140",
      "reading": "171",
      "writing": "153",
      "oralId": "F17136001031816",
      "oralLevel": "C+",
      "exam_type": "CET4"
    },
    "msg": "查询成功",
    "status": 1
  }
}
]
